﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Web.Mvc;
using System.Web.Security;
using DataAnnotationsExtensions;

namespace WebUI.Models
{
    public class ResetPasswordViewModel : BaseViewModelWithoutLogOnPartial
    {
        public string Email { get; set; }
        public string Key { get; set; }

        [Required]
        [StringLength(32, MinimumLength = 6, ErrorMessage = "The Password field has minimum 6 characters and maxinum 32 characters")]
        [DataType(DataType.Password)]
        [Display(Name = "Password")]
        public string Password { get; set; }
    }
}
